<template>
  <div class="platform-type">
    <!--商品平台logo展示-->
    <img v-if="type == '1688'" class="icon-image" src="@/assets/images/public/logo-1688.jpg" alt="">
    <img v-else-if="type == 'TAOBAO'" class="icon-image" src="@/assets/images/public/logo-taobao.png" alt="">
  </div>
</template>

<script>
export default {
  name: "t-platform",
  props: {
    type: String
  }
}
</script>

<style scoped lang="less">
.platform-type {
  .icon-image {
    display: block;
    width: 24px;
    height: 24px;
    margin-top: 4px;
  }
}
</style>